package com.example.sxt_practise.trycatch;

/**
 * @author gaofeng
 * date 2022年03月07日 22:40
 */
public class TestTry {
    public static void main(String[] args) {
        System.out.println(chu());
    }

    public static Integer chu() {
        try {
            int a = 8 / 10 ;
            return a ;
        } catch (ArithmeticException e) {
            e.printStackTrace();
        } finally {
            return 10;
        }
    }
}
